package com.dao.specyficobject.stock;


import java.util.HashMap;

import org.apache.log4j.Logger;

import com.dao.predictableobject.PredictableObject;
import com.dao.predictableobject.Variable;

public class StockObject extends PredictableObject {
	
	private final static Logger LOGGER = Logger.getLogger(StockObject.class
			.getName());
	private int stockObjId;
	private String stockObjTicker;
	private String stockObjName;
	private String stockObjCountry;
	public StockObject(){
		stockObjId=0;
		stockObjTicker="";
		stockObjName="";
		stockObjCountry="";
	}
	protected StockObject(int objId, String objName,String type,HashMap<Integer,Variable> variableMap,int stockObjId,String stockObjTicker,String stockObjName,
			String stockObjCountry,String stockObjType){
		super(objId, objName,  type, variableMap);
		LOGGER.trace("constructor: StockObject("+objId+","+objName+","+variableMap+","+stockObjId+","+
		stockObjTicker+","+stockObjName+","+ stockObjCountry+","+stockObjType+") ");
		this.stockObjId=stockObjId;
		this.stockObjTicker=stockObjTicker;
		this.stockObjName=stockObjName;
		this.stockObjCountry=stockObjCountry;
	}
	public int getStockObjId() {
		LOGGER.trace("getStockObjId()");
		return stockObjId;
	}
	public String getStockObjTicker() {
		LOGGER.trace("getStockObjTicker()");
		return stockObjTicker;
	}
	public String getStockObjName() {
		LOGGER.trace("getStockObjName()");
		return stockObjName;
	}
	public String getStockObjCountry() {
		LOGGER.trace("getStockObjCountry()");
		return stockObjCountry;
	}
}
